package ctp.statesgraph;

import java.util.Set;

import ctp.ctpgraph.Edge;
import ctp.ctpgraph.Vertex;

public class ActionState extends State {
	static String name = "a";
	
	/**
	 * Instantiates a new action state.
	 * 
	 * @param location State's location.
	 * @param open     Set of open edges.
	 * @param blocked  Set of blocked edges.
	 * @param unknown  Set of unknown edges.
	 */
	public ActionState(Vertex location, Set<Edge> open, Set<Edge> blocked, Set<Edge> unknown) {
		super(location, open, blocked, unknown);
	}

	@Override
	public String toString() {
		return name + " " + location + " " + super.openEdges + " " + super.blockedEdges + " " + super.unknownEdges;
	}
		
	public String print() {
		return name + " " + location + " " + super.openEdges + " " + super.blockedEdges + " " + super.unknownEdges;
	}

}
